package com.atguigu.service.product;

import com.atguigu.dto.product.ProductDto;
import com.atguigu.entity.product.Product;
import com.github.pagehelper.PageInfo;

public interface ProductService {
    void submit(Product product);

    void remove(Long productId);

    void update(Product product);

    void updateStatus(Long id, Integer status);

    void updateAuditStatus(Long id, Integer auditStatus);

    Product detail(Long productId);

    PageInfo<Product> getPage(Integer current, Integer limit, ProductDto productDto);
}
